package com.xintai.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xintai.common.annotation.Excel;
import com.xintai.common.core.domain.BaseEntity;

/**
 * 生产线关联仓库对象 erp_workshopcangku
 * 
 * @author xintai
 * @date 2021-01-08
 */
public class ErpWorkshopcangku extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 生产线关联仓库ID */
    private Integer wcId;

    /** 生产线ID */
    private Integer workshopId;

    @Excel(name = "生产线名称", targetAttr = "workshopName", type = Excel.Type.EXPORT)
    private PubWorkshop pubWorkshop;

    /** 仓库ID */
    private Integer cangkuId;

    @Excel(name = "仓库名称", targetAttr = "cangkuName", type = Excel.Type.EXPORT)
    private ErpCangku erpCangku;

    public Integer getWcId() {
        return wcId;
    }

    public void setWcId(Integer wcId) {
        this.wcId = wcId;
    }

    public Integer getWorkshopId() {
        return workshopId;
    }

    public void setWorkshopId(Integer workshopId) {
        this.workshopId = workshopId;
    }

    public PubWorkshop getPubWorkshop() {
        return pubWorkshop;
    }

    public void setPubWorkshop(PubWorkshop pubWorkshop) {
        this.pubWorkshop = pubWorkshop;
    }

    public Integer getCangkuId() {
        return cangkuId;
    }

    public void setCangkuId(Integer cangkuId) {
        this.cangkuId = cangkuId;
    }

    public ErpCangku getErpCangku() {
        return erpCangku;
    }

    public void setErpCangku(ErpCangku erpCangku) {
        this.erpCangku = erpCangku;
    }

    @Override
    public String toString() {
        return "ErpWorkshopcangku{" +
                "wcId=" + wcId +
                ", workshopId=" + workshopId +
                ", pubWorkshop=" + pubWorkshop +
                ", cangkuId=" + cangkuId +
                ", erpCangku=" + erpCangku +
                '}';
    }
}
